<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/EnergiMyndigheten.Dialog"
    android:background="#fff">

    <TextView
        android:id="@+id/dialog_title"
        style="@style/EnergiMyndigheten.DialogItem"
        android:layout_width="match_parent"
        android:layout_height="82dp"
        android:layout_alignParentTop="true"
        android:gravity="left|center_vertical"
        android:text="@string/price_dialog_title"
        android:textAppearance="?android:attr/textAppearanceLarge" />

    <TextView
        android:id="@android:id/text1"
        style="@style/EnergiMyndigheten.DialogItem"
        android:layout_below="@id/dialog_title"
        android:layout_marginBottom="@dimen/dimen_xs"
        android:layout_marginRight="0dp"
        android:paddingRight="0dp"
        android:text="@string/price_dialog_message1" />

    <TextView
        android:id="@+id/dialog_price"
        style="@style/EnergiMyndigheten.DialogItem"
        android:layout_alignBaseline="@android:id/text1"
        android:layout_marginLeft="6dp"
        android:layout_toRightOf="@android:id/text1"
        android:text="175 kr"
        android:textColor="@color/green_dark" />

    <TextView
        android:id="@android:id/text2"
        style="@style/EnergiMyndigheten.DialogItem"
        android:layout_below="@android:id/text1"
        android:layout_marginBottom="@dimen/dimen_l"
        android:layout_marginRight="0dp"
        android:paddingRight="0dp"
        android:text="@string/price_dialog_message2" />

    <SeekBar
        android:id="@+id/seekbar"
        style="@style/FillWidth_WrapHeight"
        android:layout_below="@android:id/text2"
        android:layout_marginBottom="@dimen/dimen_m"
        android:layout_marginLeft="@dimen/dimen_l"
        android:layout_marginRight="@dimen/dimen_l"
        android:contentDescription="@string/setprice_bar_description"
        android:progressDrawable="@drawable/scrubber_progress_horizontal"
        android:max="700"
        android:progress="60" />

    <View
        android:id="@+id/divider"
        style="@style/EnergiMyndigheten.Divider"
        android:layout_below="@id/seekbar" />

    <Button
        android:id="@+id/change_price_dialog_btn_ok"
        style="@style/EnergiMyndigheten.FlatButton"
        android:layout_alignParentLeft="true"
        android:layout_below="@id/divider"
        android:focusable="true"
        android:focusableInTouchMode="false"
        android:onClick="onXmlClick"
        android:text="@string/ok" />

    <Button
        android:id="@+id/change_price_dialog_btn_reset"
        style="@style/EnergiMyndigheten.FlatButton"
        android:layout_below="@id/divider"
        android:layout_toRightOf="@id/change_price_dialog_btn_ok"
        android:focusable="true"
        android:focusableInTouchMode="false"
        android:onClick="onXmlClick"
        android:text="@string/price_dialog_reset_price" />
</RelativeLayout>